<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>Home</title>
</head>
<body>

<h1>
	EMP 목록
</h1>

<table border="1" style="width:700px">
	<tr>
		<td>EMPNO</td>
		<td>ENAME</td>
		<td>job</td>
		<td>hiredate</td>
		<td>sal</td>
		<td>comm</td>
		<td>deptno</td>
	</tr>
<c:forEach var="emp" items="${protoTypeList}" >

	<tr>
		<td>
			<c:url value="/sample/info.do" var="infoUrl">
				<c:param name="empno" value="${emp.empno}"/>
			</c:url>
	
			<a href="${infoUrl}">
		<c:out value="${emp.empno}"/></a></td>
		<td><c:out value="${emp.ename}"/></td>
		<td><c:out value="${emp.job}"/></td>
		<td><c:out value="${emp.hiredate}"/></td>
		<td><c:out value="${emp.sal}"/></td>
		<td><c:out value="${emp.comm}"/></td>
		<td><c:out value="${emp.deptno}"/></td>
	</tr>
</c:forEach>
<c:if  test="${fn:length(protoTypeList) < 1 }" >
   조회된 자료가 없습니다.
</c:if>
</table>

<a href="/sample/add.do">등록</a>

</body>
</html>
